package com.hang.gymmanager.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author wyq
 * @version v1.0.0
 * @explain
 * @date 2024/4/2 8:57
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class ReserveDetailReq {

    /**
     * 场地id
     */
    private Integer placeId;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate day;

}
